package com.edu.util.file;

import java.io.InputStream;

public class DefaultFileStorage implements FileStorage<String> {

    private String eventId;


    public DefaultFileStorage(String eventId) {
        this.eventId = eventId;
    }

    @Override
    public String doStore(InputStream zipStream, FileInfo fileInfo) throws Exception {
        return fileInfo.getZipPath();
    }

    @Override
    public boolean isDeleteAfterStore() {
        return false;
    }
}
